---
layout: example.html
title: Icon modification
shortdesc: Example using a Modify interaction to edit an icon.
docs: >
  The icon on this map can be dragged to modify its location.
  <p>The Modify interaction can be configured with a `layer` option. With this option, hit detection will be used to determine the modification candidate.</p>
tags: "vector, modify, icon, marker"
---
<div id="map" class="map"></div>
